package com.yidu.dao;

import java.util.List;
import java.util.Map;

import com.yidu.model.LockerBox;


public interface LockerBoxMapper {
    int deleteByPrimaryKey(String boxId);

    int insert(LockerBox record);

    int insertSelective(LockerBox record);

    LockerBox selectByPrimaryKey(String boxId);

    int updateByPrimaryKeySelective(LockerBox record);

    int updateByPrimaryKey(LockerBox record);
    
    public List<LockerBox> selectAll(Map<String, Object> map);
    
    public List<LockerBox> selectidAll(LockerBox lockerbox);
    
    public int updateId(String id);
    
    public int oneup(String id);
    
    /**
     * 分页
     * @return
     */
    int findCount2(LockerBox lockerBox);
    
    public LockerBox selectboxid(String id);
}